/*
 * author      : 吴中勤 
 * date        : 2018/8/17
 * description : TODO
 */

package com.deepexi.adapter.sdk.sap;

public class SapBizConst {

    /** 请求固定值 SAP中代表 Moby */
    public static final String SYS_TYPE_DTC = "DTC";

    public static final String EXTEND_MARK = "X";

    /**
     * 响应中的节点
     * Records
     * Items
     * SUBRC
     * MESSAGE
     */
    public static final String RESPONSE_NODE_RECORDS = "Records";
    public static final String RESPONSE_NODE_ITEMS = "Items";
    public static final String RESPONSE_NODE_SUBRC = "SUBRC";
    public static final String RESPONSE_NODE_MESSAGE = "MESSAGE";

    /** 响应码正常 */
    public static final String RESPONSE_SUBRC_OK = "0";

    /**
     * 订单标记 1正单2退单
     * 目前没有退单, 所有支付/退款都是正单
     */
    public static final String ORDER_SIGN_POSITIVE = "1";
    public static final String ORDER_SIGN_REVERSE = "2";

    /**
     * FUNDTYPE
     * 01=订金
     * 02=定金
     * 03=首付
     * 04=银行收款
     * 05=全部尾款
     * 31=订金退款
     */
    public static final String FUND_TYPE_DEPOSIT = "01";
    public static final String FUND_TYPE_EARNEST_MONEY = "02";
    public static final String FUND_TYPE_DOWN_PAYMENT = "03";
    public static final String FUND_TYPE_LOAN = "04";
    public static final String FUND_TYPE_BALANCE_DUE = "05";
    public static final String FUND_TYPE_REFUND = "31";


    /* ↓↓↓ 订单相关的常量 ↓↓↓ 订单相关的常量 ↓↓↓ 订单相关的常量 ↓↓↓ 订单相关的常量 */
    public static final int RESPONSE_NODE_SUBRC_SUCCESS = 0;
    public static final int RESPONSE_NODE_SUBRC_FAIL = 1;

    /* ↑↑↑↑ 订单相关的常量 ↑↑↑ 订单相关的常量 ↑↑↑ 订单相关的常量 ↑↑↑ 订单相关的常量 */

}
